import homeRoutes from '@/router/number-two-home';
export default [
    {
        path:'/home',
        name:'home',
        component:()=>import('@/pages/number-one/Home.vue'),
        children:homeRoutes
    },
    {
        path:'/register',
        name:'register',
        component:()=>import('@/pages/number-one/Register.vue')
    },
    {
        path:'/login',
        name:'login',
        component:()=>import('@/pages/number-one/Login.vue')
    },
    {
        path:'/faq',
        name:'faq',
        component:()=>import('@/pages/number-one/FAQ.vue')
    },
    {
        path:'/safetycenter',
        name:'safetycenter',
        component:()=>import('@/pages/number-one/SafetyCenter.vue')
    },
    {
        path:'/service',
        name:'service',
        component:()=>import('@/pages/number-one/Service.vue')
    },
    // path:*代表的是所有的路径
    {
        path:'*',
        name:'notfound',
        component:()=>import('@/pages/number-one/NotFound.vue')
    },
    // 当什么都没有写的时候 路由重定向  定向到home
    {
        path:'/',
        redirect: {
            path:'/home'
        }
    }
    
]